import {get,del,post} from "../util/reqest"
//获取订单列表
export const reqgetorderapi=(data)=>get("/api/v1/orders",data);

//根据id获取订单详情
export const reqgetorderoneapi=(id)=>get(`/api/v1/orders/${id}`);

//根据id删除订单详情
export const reqdelorderoneapi=(id)=>del(`/api/v1/orders/${id}`)

//清空列表信息
export const reqdelorderallapi=(ids)=>post("/api/v1/orders/delmany",{ids});

